package com.demo.mutilDataSource;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@SpringBootApplication(scanBasePackages = {"com.demo.mutilDataSource"}, exclude = {DruidDataSourceAutoConfigure.class})
@EnableDubbo
@EnableDiscoveryClient
public class MutilDataSourceApplication {

  public static void main(String[] args){
    SpringApplication.run(MutilDataSourceApplication.class, args);
  }

}
